﻿using System.Web.Optimization;

namespace RHD.Web {
	public class BundleConfig {
		// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
		public static void RegisterBundles(BundleCollection bundles) {

			bundles.Add(new StyleBundle("~/Content/css")
				.Include("~/Content/site.css")
				.Include("~/Content/components.css")
				.Include("~/Content/bootstrap/css/bootstrap.css"));

			bundles.Add(new ScriptBundle("~/bundles/script")
				.Include("~/Scripts/bootstrap.js")
				.Include("~/Scripts/date.format.js")
				.Include("~/Scripts/floatingmessage.js")
				.Include("~/Scripts/jquery-{version}.js")
				.Include("~/Scripts/NumberFormat154.js")

				.Include("~/Scripts/components/rhd.autocomplete.js")
				.Include("~/Scripts/components/rhd.filter.js")
				.Include("~/Scripts/components/rhd.functions.js")
				.Include("~/Scripts/components/grid/rhd.grid.js")
				.Include("~/Scripts/components/grid/rhd.grid.extensions.js")
				.Include("~/Scripts/components/grid/rhd.grid.locale.js")
				.Include("~/Scripts/components/rhd.message.js"));
		}
	}
}